import {createRouter, createWebHashHistory, createWebHistory} from 'vue-router';

const routes = [
    {
        path: '/Home',
        component: () =>
            import ("../components/Home.vue"),
    },
    {
        path: '/Document',
        component: () =>
            import ("../components/Document.vue"),
    },
    {
        path: '/Deploy',
        component: () =>
            import ("../components/Deploy.vue"),
    },
    {
        path: '/Option',
        component: () =>
            import ("../components/Option.vue"),
    },
    {
        path: '/Question',
        component: () =>
            import ("../components/Question.vue"),
    },
    {
        path: '/Mine',
        component: () =>
            import ("../components/Mine.vue"),
    },
    {
        path: '/Version',
        component: () =>
            import ("../components/Version.vue"),
    },
    {
        path: '/',
        redirect: '/Home',
    }
]

export default createRouter({
    history: createWebHashHistory("/sonic-official-website/"),
    routes,
})